package com.physics.mps.module.comsol;

import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Component;

/**
 * @author mcsoft
 * @date 2023/10/18 15:21
 * @description 异步执行
 */
@EnableAsync
@Component
public class AsyncHandler {

    @Async(value = "executeScriptExecutorService")
    public void exec(HandlerInterface handlerInterface) {
        handlerInterface.handle();
    }


}
